package locations.actions;
import locations.model.Pacient;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;


public class NewPacientAction extends ActionSupport implements ModelDriven<Pacient>  {
	
		private static final long serialVersionUID = -8124967730231198191L;
		
		private Pacient pacient = new Pacient();
		private String pageTitle = "Editar Paciente";
		
		public String execute(){
			
			return SUCCESS;
		}
		
		public Pacient getPacient() {
			return pacient;
		}

		public void setPacient(Pacient pacient) {
			this.pacient = pacient;
		}
		
		@Override
		public Pacient getModel() {
			return this.pacient;
		}
}